package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.IGlobalDAO;
import org.scirp.ijmis.po.common.Global;

public class GlobalDAOImpl extends BaseDAOImpl<Global> implements IGlobalDAO {

	private static final String className = GlobalDAOImpl.class.toString();

	public List<Global> selectAll() {

		String hql = "from Global order by pid desc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public Global selectById(Object id) {

		return (Global) super.selectById(id, className + "-->selectById");
	}

}
